package com.xu.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-08-29
 */
@Data

@EqualsAndHashCode(callSuper = false)

public class Post implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "tz_id", type = IdType.AUTO)
    private Long tz_id;

    private Long T_id;

    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;

    private String T_name;

    private Long tors;

    private String content;

    private Integer S_id;

    private String zl1;

    private String zl2;

    private Long gs;

    private String z1;

    private String z2;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date newTime;

    private Long flag;


}
